package com.qf.fmall2204.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 用于接受注册请求 中 ，请求体传来的json字符串
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRegistVo {

    @NotBlank
    private String username;
    @NotBlank
    private String password;
    @NotBlank
    private String repassword;

}
